package c.c.c;

import android.os.HandlerThread;

public final class b {

    public enum a {
        AUDIO(-16),
        BACKGROUND(10),
        DEFAULT(0),
        DISPLAY(-4),
        FOREGROUND(-2),
        LESS_FAVORABLE(1),
        LOWEST(19),
        MORE_FAVORABLE(-1),
        URGENT_AUDIO(-19),
        URGENT_DISPLAY(-8);
        

        /* renamed from: b  reason: collision with root package name */
        private final int f2023b;

        private a(int i) {
            this.f2023b = i;
        }

        /* access modifiers changed from: package-private */
        public int a() {
            return this.f2023b;
        }
    }

    public static HandlerThread a(String str, a aVar) {
        c.c.a.a.b(str, "threadName");
        c.c.a.a.c(aVar, "threadPriority");
        HandlerThread handlerThread = new HandlerThread(str, aVar.a());
        handlerThread.start();
        return handlerThread;
    }
}
